/**
 *
 *
 */
package com.fw.timesheet.service;

import com.fw.timesheet.dao.HolidayDAO;
import com.fw.timesheet.model.Holiday;

/**
 * @author sigit <br>
 * @version 1.0 <br>
 * Application : timesheet <br>
 * Copyright (c) fastwire-group 2012 <br>
 * <br>
 */
public class HolidayService extends BaseService {
	private HolidayDAO holidayDAO;

	public HolidayDAO getHolidayDAO() {
		return holidayDAO;
	}

	public void setHolidayDAO(HolidayDAO holidayDAO) {
		this.holidayDAO = holidayDAO;
		setDaoObject(holidayDAO);
	}
	
	
	
	public void delete(Holiday persistentInstance) {
		getHolidayDAO().delete(persistentInstance);
	}
	
	public Holiday findById(Long id) {
		return getHolidayDAO().findById(id);
	}
}
